package com.itheima.reggie.service;

import com.itheima.reggie.entity.Category;
import com.itheima.reggie.entity.Page;

import java.util.List;

public interface CategoryService {
    boolean save(Category category);

    Page<Category> findByPage(Integer page,Integer pageSize);

    Boolean delete(Long id);

    Boolean update(Category category);

    List<Category> findAll();

    List<Category> findByType(Integer type);


}
